export interface ContentType {
    code?: number;
    message: string;
}

export interface XmlType {
    [key: string]: any;
}

export interface SendMessageRequest {
    touser: string;
    msgtype: string;
    agentid: number;
    text: {
        content: string;
    };
}

export interface SendMessageResponse {
    errcode: number;
    errmsg: string;
}

export interface OpenAIChatCompletionRequest {
    role: string;
    content: string;
}

export interface OpenAIChatCompletionResponse {
    data: {
        choices: {
            message: {
                content: string;
            };
        }[];
    };
}